package Sunday;

public class Item {
    private Integer item_id;
    private String item_name;
    private Integer budget;
    private String daratime;



    public Item() {
    }

    public Item(Integer item_id, String item_name, Integer budget, String daratime) {
        this.item_id = item_id;
        this.item_name = item_name;
        this.budget= budget;
        this.daratime=daratime;
    }

    public Integer getItem_id() {
        return item_id;
    }

    public void setEmp_id(Integer item_id) {
        this.item_id = item_id;
    }

    public String getItem_name() {
        return item_name;
    }

    public void setItem_name(String item_name) {
        this.item_name = item_name;
    }

    public Integer getBudget() {
        return budget;
    }

    public void setBudget(Integer budget) {
        this.budget = budget;
    }

    public String getDaratime(){
        return daratime;
    }
    public void setDaratime(String daratime){
        this.daratime=daratime;
    }



    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("item{");
        sb.append("item.id=").append(item_id);
        sb.append(", item_name='").append(item_name).append('\'');
        sb.append(",budget  ='").append(budget ).append('\'');
        sb.append(",daratime  ='").append(daratime ).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
